<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupGetParent</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
	text-decoration: underline;
}
</style>
</head>
<body>

<h2>IupGetParent</h2>
<p>Returns the parent of a control.</p>
<h3>
Parameters/Return</h3>
<div>
  <pre>Ihandle* IupGetParent(Ihandle *<strong>ih</strong>); [in C]
iup.GetParent(<strong>ih</strong>: ihandle) -&gt; <strong>parent</strong>: ihandle [in Lua]</pre>
</div>
<p><b>ih</b>: identifier of the interface element. </p>
<p><span class="style1">Returns:</span> the handle of the parent or NULL if does 
not have a parent.</p>
<h3>See Also</h3>
<p><a href="iupgetchild.html">IupGetChild</a>, <a href="iupgetnextchild.html">IupGetNextChild</a>,
  <a href="iupgetbrother.html">IupGetBrother</a></p>

</body>

</html>
